<{include file="head.html"}>
<body>
<{include file="nav.html"}>
<script type="text/javascript" src="<{$smarty.const.VAR_URL}>js/show_banner3.js"></script>
<div id="ibanner3" style="height:407px;">
        <div id="ibanner_pic3"> 
        	<!-- <a href="#" ><img src="images/banner3.jpg" border="0" width="960" height="407" /></a> 
        	<a href="#" style="display:none"><img src="images/banner2.jpg" border="0" width="960" height="407"  usemap="#Map"></a>  -->
          <{foreach from=$banners item=b}>
            <a href="<{$b.link|default:'#'}>" title="<{$b.title}>"><img src="<{$smarty.const.UPLOAD_URL}>advertise/<{$b.file}>" border="0" width="960" height="407" /></a> 
          <{/foreach}>
        </div>
        <div id="ibanner_btn3"></div>
</div>
<div id="main">
 <div class="main_left">
  <div class="fenxiang">
    <DIV class=bshare-custom><div style="float:left;"><img src="<{$smarty.const.VAR_URL}>images/fxd.jpg" width="63" height="25" align="left" /></div><div style="float:left; padding-top:5px;">　<A class=bshare-qzone title=分享到QQ空间 href="javascript:void(0);">QQ空间</A>　<A class=bshare-sinaminiblog title=分享到新浪微博 href="javascript:void(0);">新浪微博</A>　<A class=bshare-renren title=分享到人人网 href="javascript:void(0);">人人网</A>　<A class=bshare-qqmb title=分享到腾讯微博 href="javascript:void(0);">腾讯微博</A>　<A class=bshare-douban title=分享到豆瓣 href="javascript:void(0);">豆瓣</A>　<A class=bshare-sohuminiblog title=分享到搜狐微博 href="javascript:void(0);">搜狐微博</A>　<A class=bshare-kaixin001 title=分享到开心网 href="javascript:void(0);">开心网</A>　<A class=bshare-qqxiaoyou title=分享到朋友网 href="javascript:void(0);">朋友网</A>　</div></DIV>
<SCRIPT type=text/javascript charset=utf-8 src="http://static.bshare.cn/b/buttonLite.js#style=-1&amp;uuid=&amp;pophcol=2&amp;lang=zh"></SCRIPT>

<SCRIPT type=text/javascript charset=utf-8 src="http://static.bshare.cn/b/bshareC0.js"></SCRIPT></div>
<div style="width:100%;">
<{foreach from=$proList item=p}>
  <div class="prolist"><a href="<{$p.link}>"><img src="<{$smarty.const.UPLOAD_URL}>advertise/<{$p.file}>"  alt="<{$p.title}>"/></a></div>
<{/foreach}>
</div>
 </div>
<div class="main_right">
<div class="width258">
  <div class="jxcp">
   <div class="jxcp_title">精选产品</div>
   <!-- <div class="jxcp_name"><a href="#" class="font1">茶树舒缓精油</a>　　13388人购买 </div>
   <div class="jxcp_pic"><img src="images/chashu.jpg" width="230" height="172" alt="茶树舒缓精油" /></div>
   <div class="jxcp_name"><a href="#" class="font1">嫩白玉足霜</a>　　13388人购买 </div>
   <div class="jxcp_pic">
     <div sizcache="2110" sizset="0">
       <div sizcache="2110" sizset="0"><img src="images/yuzu.jpg" width="230" height="172" alt="嫩白玉足霜" /></div>
     </div>
   </div> -->
   <{foreach from=$featured item=f}>
     <div class="jxcp_name"><a href="<{$f.link|default:'#'}>" class="font1"><{$f.title}></a><{$f.subtitle}></div>
     <div class="jxcp_pic"><img src="<{$smarty.const.UPLOAD_URL}>advertise/<{$f.file}>" width="230" height="172" alt="<{$f.title}>" /></div>
   <{/foreach}>
  </div>
<div style="width:100%;">
  <div class="jxcp_title">用户评论</div>
  <{foreach from=$comms item=c}>
    <div class="pinlun">
      <span class="font2">“</span><span title="<{$c.words}>"><{$c.words|truncate:80}></span><span class="font2">”</span><br/>
      <span style="color:#000"><{$c.user}></span>
     </div>
   <{/foreach}>
</div>
</div><div class="banner_260"><img src="images/hzts_13.jpg" width="240" height="69" /></div></div>
</div>
<{include file="foot.html"}>
<script language="javascript">
var Message={
set: function() {//最小化与恢复状态切换
var set=this.minbtn.status == 1?[0,1,'block',this.char[0],'最小化']:[1,0,'none',this.char[1],'恢复'];
this.minbtn.status=set[0];
this.win.style.borderBottomWidth=set[1];
this.content.style.display =set[2];
this.minbtn.innerHTML =set[3]
this.minbtn.title = set[4];
this.win.style.top = this.getY().top;
},
close: function() {//关闭
this.win.style.display = 'none';
window.onscroll = null;
},
setOpacity: function(x) {//设置透明度
var v = x >= 100 ? '': 'Alpha(opacity=' + x + ')';
this.win.style.visibility = x<=0?'hidden':'visible';//IE有绝对或相对定位内容不随父透明度变化的bug
this.win.style.filter = v;
this.win.style.opacity = x / 100;
},
show: function() {//渐显
clearInterval(this.timer2);
var me = this,fx = this.fx(0, 100, 0.1),t = 0;
this.timer2 = setInterval(function() {
t = fx();
me.setOpacity(t[0]);
if (t[1] == 0) {clearInterval(me.timer2) }
},6);//10 to 6
},
fx: function(a, b, c) {//缓冲计算
var cMath = Math[(a - b) > 0 ? "floor": "ceil"],c = c || 0.1;
return function() {return [a += cMath((b - a) * c), a - b]}
},
getY: function() {//计算移动坐标
var d = document,b = document.body, e = document.documentElement;
var s = Math.max(b.scrollTop, e.scrollTop);
var h = /BackCompat/i.test(document.compatMode)?b.clientHeight:e.clientHeight;
var h2 = this.win.offsetHeight;
return {foot: s + h + h2 + 2+'px',top: s + h - h2 - 2+'px'}
},
moveTo: function(y) {//移动动画
clearInterval(this.timer);
var me = this,a = parseInt(this.win.style.top)||0;
var fx = this.fx(a, parseInt(y));
var t = 0 ;
this.timer = setInterval(function() {
t = fx();
me.win.style.top = t[0]+'px';
if (t[1] == 0) {
clearInterval(me.timer);
me.bind();
}
},6);//10 to 6
},
bind:function (){//绑定窗口滚动条与大小变化事件
var me=this,st,rt;
window.onscroll = function() {
clearTimeout(st);
clearTimeout(me.timer2);
me.setOpacity(0);
st = setTimeout(function() {
me.win.style.top = me.getY().top;
me.show();
},100);//600 mod 100
};
window.onresize = function (){
clearTimeout(rt);
rt = setTimeout(function() {me.win.style.top = me.getY().top},100);
}
},
init: function() {//创建HTML
function $(id) {return document.getElementById(id)};
this.win=$('msg_win');
var set={minbtn: 'msg_min',closebtn: 'msg_close',title: 'msg_title',content: 'msg_content'};
for (var Id in set) {this[Id] = $(set[Id])};
var me = this;
this.minbtn.onclick = function() {me.set();this.blur()};
this.closebtn.onclick = function() {me.close()};
this.char=navigator.userAgent.toLowerCase().indexOf('firefox')+1?['_','::','×']:['0','2','r'];//FF不支持webdings字体
this.minbtn.innerHTML=this.char[0];
this.closebtn.innerHTML=this.char[2];
setTimeout(function() {//初始化最先位置
me.win.style.display = 'block';
me.win.style.top = me.getY().foot;
me.moveTo(me.getY().top);
},50);
return this;
}
};
Message.init();
</script>
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://www.surenfang.com" : " http://www.surenfang.com");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fc37aad2f78695e1d76b7d24669eb04e9' type='text/javascript'%3E%3C/script%3E"));
</script>
<div id="QYKF_COPYRIGHT_70718ca91d55dcb82b8020add3fc54fa"><a href="http://www.qycn.com/kf/">cc客服</a><a href="http://www.qycn.com/mail/">企业邮箱</a><a href="http://www.qycn.com/sms/">短信平台</a><a href="http://www.qycn.com/netmeeting/">视频会议</a></div>
<script src="http://26157.fy.kf.qycn.com/vclient/state.php?webid=26157" language="javascript" type="text/javascript"></script>
</body>
</html>
<script>
function correctPNG()  
{ 
for(var i=0; i<document.images.length; i++) 
{ 
  var img = document.images[i] 
  var imgName = img.src.toUpperCase() 
  if (imgName.substring(imgName.length-3, imgName.length) == "PNG") 
  { 
   var imgID = (img.id) ? "id='" + img.id + "' " : "" 
   var imgClass = (img.className) ? "class='" + img.className + "' " : "" 
   var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' " 
   var imgStyle = "display:inline-block;" + img.style.cssText  
   if (img.align == "left") imgStyle = "float:left;" + imgStyle 
   if (img.align == "right") imgStyle = "float:right;" + imgStyle 
   if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle   
   var strNewHTML = "<span " + imgID + imgClass + imgTitle 
   + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";" 
  + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader" 
   + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"  
   img.outerHTML = strNewHTML 
   i = i-1 
  } 
} 
} 
try{window.attachEvent("onload", correctPNG);}catch(e){}
</script>